package com.edu.mapper;

import com.edu.bean.Orders;
import com.sun.org.apache.xpath.internal.operations.Or;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrdersMapper {

    Orders selectOrdersById(Integer orderId);

    List<Orders> selectiveOrders(Orders orders);

    List<Orders> selectiveOrdersByTime(@Param("startTime") String startTime,@Param("endTime") String endTime);

    List<Orders> selectiveOrders2(Map<String,Object> map);

    int insertOrders(@Param("ordersList") List<Orders> ordersList);

    int updateOrders(Orders orders);
}
